package com.u.character;

import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import com.sun.media.jfxmedia.events.NewFrameEvent;
import com.u.eventInfo.EventInfo;
import com.u.tool.*;
import com.u.toolbox.AbstractToolBox;
import com.u.toolbox.ToolBox;

public class Role {
	
	@lsld
	private String user_acc;
	private String password;
	private String user_type;
	private String name;
	private String tel;
	
	public Role(Role role) {
		this.user_acc = role.getUseracc();
		this.password = role.getPassword();
		this.name = role.getName();
		this.user_type = role.getUsertype();
		this.tel = role.getTel();
	}
	
	public Role(){
		
	}
	
	public Role(String name, String useracc, String password, String usertype, String tel){
		this.name = name;
		this.user_acc = useracc;
		this.password = password;
		this.user_type = usertype;
		this.tel = tel;
	}
		
	/**
	 * Getter & Setter
	 * @return
	 */

	public String getUseracc() {
		return user_acc;
	}

	public void setUseracc(String useracc) {
		this.user_acc = useracc;
	}

	public String getUsertype() {
		return user_type;
	}

	public void setUsertype(String usertype) {
		this.user_type = usertype;
	}

	public String getPassword() {
		return password;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
	public String print(){
		return (user_acc + " " + password + " " + user_type + " " + name + " " + tel);
	}
		

}
